package com.xckj.ibox.iview;

import com.xckj.ibox.bean.AgreementBean;
import com.xckj.ibox.bean.BannerBean;
import com.xckj.ibox.bean.HomeGoodsBean;
import com.xckj.ibox.bean.HomeMenuBean;
import com.xckj.ibox.bean.NoticeBean;
import com.xckj.ibox.framework.IBaseView;

import java.util.List;

/**
 * @Author: ChenYao
 * @Describe: 首页
 * @Date: 2023/6/15 23:11
 */
public interface IHomeView extends IBaseView {
    /**
     * 获取Banner成功
     *
     * @param bannerBeanList banner
     */
    void getBannerSuccess(List<BannerBean> bannerBeanList);

    /**
     * 获取首页菜单
     *
     * @param menuBeans 菜单
     */
    void getHomeMenuSuccess(List<HomeMenuBean> menuBeans);

    /**
     * 获取首页商品
     *
     * @param goodsBean 商品
     */
    void getHomeGoodsSuccess(HomeGoodsBean goodsBean);

    /**
     * 获取协议
     *
     * @param agreementBean 协议
     */
    void getAgreement(AgreementBean agreementBean);

    /**
     * 获取公告
     *
     * @param noticeBeans 公告
     */
    void getNotice(List<NoticeBean> noticeBeans);

    /**
     * 失败
     *
     * @param message 失败消息
     */
    void failed(String message);
}
